import { input } from "./items/input";
import { select } from "./items/select";
import { radio } from "./items/radio";
import { checkbox } from "./items/checkbox";
import { Switch } from "./items/Switch";
import { inputNumber } from "./items/inputNumber";
import { textarea } from "./items/textarea";
import { slider } from "./items/slider";
import { date } from "./items/date";
import { time } from "./items/time";
import { editor } from "./items/editor";
import { cascader } from "./items/cascader";
import { upload } from "./items/upload";

import { dialogList } from "./items/dialogList";

import { dynamicTable } from "./items/dynamicTable";
import { button } from "./items/button";
import { divider } from "./items/divider";
import { row } from "./items/row";
import { table } from "./items/table";

import { alert } from "./items/alert";
import { link } from "./items/link";
import { text } from "./items/text";
import { valueText } from "./items/valueText";
import { numInput } from "./items/numInput";
import { formImage } from "./items/formImage";

// 自定义组件
import { userList } from "./items/userList.js";
import { userDept } from "./items/userDept.js";
import { flowList } from "./items/flowList.js";
import { formSignature } from "./items/signature";
export const formItems = [
  input,
  textarea,
  select,
  cascader,
  radio,
  checkbox,
  inputNumber,
  slider,
  date,
  time,
  Switch,
  upload,
  // 函数计算
  valueText,
  numInput,
  // 数值
  editor,
  // 图片
  formImage,
];
// 子表单组件;
export const subFormItems = [dynamicTable];
// 自定义业务组件  仿照 dialogList
export const customItems = [
  userDept,
  userList,
  flowList,
  formSignature, //签章
];

export const assistFormItems = [button, divider, alert, link, text];
export const layoutFormItems = [row, table];
